<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>

<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="Build" content="Build">
   <title>Eclipse Platform Release Notes (3.6) - JDT Annotation Processing</title>
</head>

<body>

<h1>Eclipse Platform Build Notes (3.6)<br>
JDT Annotation Processing</h1>

<p>Integration Build (March 05, 2011, 11:48 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338370">Bug 338370</a>. NPE in BatchFilerImpl.getResource (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338625">Bug 338625</a>. 23 compile warnings in official build (FIXED)<br>
  </p>
<p>Integration Build (January 20, 2011)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=301894">Bug 301894</a>. OutOfMemory error when building a large project with annotations<br>
  </p>

<p>Integration Build (July 26, 2010, 11:03 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320195">Bug 320195</a>. Eclipse hangs when processing annotation (FIXED)<br>
  </p>

<p>Integration Build (July 06, 2010, 10:04 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313324">Bug 313324</a>. Suspicious fall-through (NEW)<br>
  </p>

<p>Integration Build (April 20, 2010, 11:23 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=261969">Bug 261969</a>. classElement.getAnnotation(...).value() returns null in some cases for String[] properties (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=290780">Bug 290780</a>. org.eclipse.jdt.compiler.apt does not export all its packages (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308555">Bug 308555</a>. The ".factorypath" doesn't have a team file type registered (FIXED)<br>
  </p>

<p>Integration Build (September 21, 2009, 10:36 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=290027">Bug 290027</a>. Use IResource#setDerived(boolean, IProgressMonitor) instead of IResource#setDerived(boolean) (NEW)<br>
  </p>

<p>Integration Build (August 21, 2009, 11:24 p.m.) - 3.5.1</p>
<p>Problem reports updated</p>
<p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287323">Bug 287323</a>. [compiler][apt] Error type detection is too conservative (FIXED)<br>
</p>

<p>Integration Build (August 17, 2009, 11:24 p.m.)</p>
<p>Problem reports updated</p>
<p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=285838">Bug 285838</a>. [apt] IdeFilerImpl breaks javax.annotation.processing.Filer contract (FIXED)<br>
</p>

<p>Integration Build (April 26, 2009, 12:24 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=263985">Bug 263985</a>. APT errors on a clean build (DUPLICATE)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=269934">Bug 269934</a>. [apt] APT-generated classes that contain annotations causes NPE (FIXED)<br>
  </p>

<p>Integration Build (April 13, 2009, 9:48 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
  </p>

<p>Integration Build (January 12, 2009, 11:37 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=258917">Bug 258917</a>. [jsr269] Not-yet-implemented methods in Java 6 APT (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=259248">Bug 259248</a>. [jsr269] TypesImpl#isSubtype not yet implemented in APT6 (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=259249">Bug 259249</a>. [jsr269] VariableElementImpl#getEnclosingElement not yet implemented in APT6 (FIXED)<br>
  </p>

<p>Integration Build (January 05, 2009, 11:26 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
  </p>

<p>Integration Build (December 09, 2008, 12:16 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=256184">Bug 256184</a>. getDeclaredType throws IllegalArgumentException for array types (FIXED)<br>
  </p>

<p>Integration Build (November 25, 2008, 7:10 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
  </p>

<p>Integration Build (November 25, 2008, 12:14 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
  </p>

<p>Integration Build (November 25, 2008, 12:09 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
  </p>

<p>Integration Build (November 08, 2008, 4:56 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
  </p>

<p>Integration Build (September 29, 2008, 9:56 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=240264">Bug 240264</a>. UnsupportedOperationException in FileObject.getName (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=246089">Bug 246089</a>. UnsupportedOperationException in FileObject.getCharContent (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=248156">Bug 248156</a>. Implement FileObject.toUri() (FIXED)<br>
  </p>

<p>Integration Build (September 02, 2008, 9:50 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=245746">Bug 245746</a>. NPE org.eclipse.jdt.apt.core.internal.env.BaseProcessorEnv:491 (FIXED)<br>
  </p>

<p>Integration Build (May 13, 2008, 9:33 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=231496">Bug 231496</a>. Extraneous override: ErrorTypeElement#accept is a plain copy of TypeElementImpl#accept (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=231521">Bug 231521</a>. JDT APT TypeElement#getInterfaces brings interfaces back when they are missing, while javac brings none (FIXED)<br>
  </p>

<p>Integration Build (May 07, 2008, 8:39 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
  </p>

<p>Integration Build (April 29, 2008, 11:38 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=228691">Bug 228691</a>. JDT impl of com.sun.mirror.util.Types.isAssignable() returns false for wrapper to primitive assignment (FIXED)<br>
  </p>

<p>Integration Build (April 27, 2008, 11:27 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=222735">Bug 222735</a>. DOM AST: hide recovered bindings unless 'recovered bindings' is enabled (FIXED)<br>
  </p>

<p>Integration Build (April 14, 2008, 6:41 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=218057">Bug 218057</a>. [jsr269] annotation values should preserve order (FIXED)<br>
  </p>

<p>Integration Build (April 07, 2008, 10:43 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=178138">Bug 178138</a>. APT writes to the log when a factory path entry is missing (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=224424">Bug 224424</a>. Negative1 test failing on Linux (NEW)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=224943">Bug 224943</a>. Markers should have a sourceID set (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=225611">Bug 225611</a>. APT test failure to delete parent file (FIXED)<br>
  </p>

<p>Integration Build (March 29, 2008, 9:44 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=224424">Bug 224424</a>. Negative1 test failing on Linux (NEW)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=224750">Bug 224750</a>. NPE during reconcile, in AbstractCompilationEnv.getAnnotationTypes() (FIXED)<br>
  </p>

<p>Integration Build (March 27, 2008, 10:41 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=224424">Bug 224424</a>. Negative1 test failing on Linux (NEW)<br>
  </p>

<p>Integration Build (March 25, 2008, 5:41 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=223281">Bug 223281</a>. isValidBinding() returns true for missing parameterized types (FIXED)<br>
  </p>

<p>Integration Build (March 23, 2008, 11:10 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
  </p>

<p>Integration Build (March 17, 2008, 11:33 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=208454">Bug 208454</a>. [prov] Provisioning of root files (NEW)<br>
  </p>

<p>Integration Build (March 12, 2008, 8:48 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=221267">Bug 221267</a>. [1.5][compiler] missing annotation bindings on interface method parameter (NEW)<br>
  </p>

<p>Integration Build (February 25, 2008, 3:22 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
  </p>

<p>Integration Build (February 11, 2008, 3:21 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=217002">Bug 217002</a>. Typo in javadoc for AptPreferenceConstants.PROCESSING_IN_EDITOR_DISABLED_OPTION (FIXED)<br>
  </p>

<p>Integration Build (January 14, 2008, 11:49 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=213540">Bug 213540</a>. Support Filer.getResource() in IDE (FIXED)<br>
  </p>

<p>Integration Build (January 07, 2008, 3:36 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=202956">Bug 202956</a>. APT should group their marker types (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=213539">Bug 213539</a>. Support Filer.createClassFile() in IDE (NEW)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=213917">Bug 213917</a>. [apt] env.getPackage() returns corrupt packages (FIXED)<br>
  </p>

<p>Integration Build (November 20, 2007, 9:10 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
  </p>

<p>Integration Build (November 19, 2007, ? p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=209715">Bug 209715</a>. org.eclipse.jdt.apt.core.util.AptPreferenceConstants should clarify its specification (FIXED)<br>
  </p>

<p>Integration Build (November 12, 2007, 8:26 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
  </p>

<p>Integration Build (November 05, 2007, 5:36 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=208186">Bug 208186</a>. Don't set encoding of generated file unless it needs to change (FIXED)<br>
  </p>

<p>Integration Build (October 26, 2007, 6:26 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=203241">Bug 203241</a>. [compiler] Missing warning when a serializable class without serialVersionUID is also abstract (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=206591">Bug 206591</a>. AnnotationProcessorEnvironment.getTypeUtils().isSubtype does not work as expected (NEW)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=207408">Bug 207408</a>. non-translated marker name %aptNonreconcileBatchMarkerName (FIXED)<br>
  </p>

<p>Integration Build (October 15, 2007, 4:20 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=170692">Bug 170692</a>. Timeliness of problem removal with APT (FIXED)<br>
  </p>

<p>Integration Build (October 02, 2007, 5:53 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=190612">Bug 190612</a>. Implement JavaFileObject.openOutputStream() in IDE (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=202548">Bug 202548</a>. APT plugins are missing .options files (FIXED)<br>
  </p>

<p>Integration Build (September 20, 2007, 3:36 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=203900">Bug 203900</a>. Generated file dependencies not always serialized (NEW)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=204056">Bug 204056</a>. disabling annotation processing from UI does not clean build state (ASSIGNED)<br>
  </p>

<p>Integration Build (September 16, 2007, 4:46 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
  </p>

<p>Integration Build (September 13, 2007, 2:59 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=200124">Bug 200124</a>. [jsr269] Implement createResourceFile in IDE (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=201479">Bug 201479</a>. non-source generated files deleted improperly (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=201931">Bug 201931</a>. pluggable FilerTests fail sporadically (NEW)<br>
  </p>

<p>Integration Build (August 27, 2007, 12:51 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
  </p>

<p>Integration Build (August 20, 2007, 4:03 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=188559">Bug 188559</a>. Delete files generated by Java 6 processors during build (NEW)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=190617">Bug 190617</a>. [jsr269] processors not getting called on final round (ASSIGNED)<br>
  </p>

<p>Integration Build (July 23, 2007, 3:16 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=190268">Bug 190268</a>. Need to perform a validateEdit() before setting encoding (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=193784">Bug 193784</a>. Proprietary licenses (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=197050">Bug 197050</a>. [jsr269]  Support -XprintRounds and -XprintProcessorInfo (FIXED)<br>
  </p>

<p>Integration Build (May 23, 2007, 9:07 a.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186427">Bug 186427</a>. Need a finally block in AptDispatchRunnable.build (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=187135">Bug 187135</a>. AbortCompilationException when project is missing classes (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=188185">Bug 188185</a>. RTTG_ENABLED_OPTION should ignore -A (FIXED)<br>
  </p>

<p>Integration Build (May 14, 2007, 6:20 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=171893">Bug 171893</a>. getPackage().getQualifiedName() is slow (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186740">Bug 186740</a>. [PERF] discard cached Problems after each build (FIXED)<br>
  </p>

<p>Integration Build (May 10, 2007, 5:05 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=178138">Bug 178138</a>. APT writes to the log when a factory path entry is missing (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=181869">Bug 181869</a>. IllegalArgumentException with annotation value syntax error (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=182364">Bug 182364</a>. Type checking is too aggressive (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=185220">Bug 185220</a>. IDE java 6 APT support needs a Messager (FIXED)<br>
  </p>

<p>Integration Build (May 02, 2007, 12:55 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=184923">Bug 184923</a>. Deadlock in AnnotationProcessorFactoryLoader (FIXED)<br>
  </p>

<p>Integration Build (May 01, 2007, 5:57 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=178690">Bug 178690</a>. Processors should be able to disable reconcile-time type deletion (NEW)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=185010">Bug 185010</a>. Catch processor exceptions lower on the stack during reconcile (NEW)<br>
  </p>

<p>Integration Build (April 16, 2007, 7:16 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
  </p>

<p>Integration Build (April 09, 2007, 6:36 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=180595">Bug 180595</a>. Permit modification of AnnotationProcessorListeners during callback (FIXED)<br>
  </p>

<p>Integration Build (April 02, 2007, 5:59 p.m.)</p>
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=175794">Bug 175794</a>. Type generation causes reported problems to disappear (ASSIGNED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=177683">Bug 177683</a>. NPE in internal.util.Factory.createErrorClassType() (FIXED)<br>
  </p>

<p>Integration Build (March 19, 2007, 00:10)</p>
  <p>Java 6 annotation processing</p>
  <p>
In this integration build, the Java 6 annotation processing API (JSR-269) has been partly enabled.  Not all aspects of the API are yet working.
If you have specific use cases that need to be supported before you can to contribute testing, please feel free to enter bug reports
against the JDT APT component, or email jdt-apt-dev@eclipse.org.  Please provide as much detail as possible.
  </p>
  
  <p>Problem reports updated</p>
  <p>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=176883">Bug 176883</a>. Deleted files not being properly reported (FIXED)<br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=176132">Bug 176132</a>. Add a flag to disable reconcile-time annotation processing (FIXED)<br>
  </p>